package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ShopMerchantPermission;
import com.woniuxy.common.entity.ShopMerchantPermissionExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopMerchantPermissionMapper {
    long countByExample(ShopMerchantPermissionExample example);

    int deleteByExample(ShopMerchantPermissionExample example);

    int deleteByPrimaryKey(String permissionId);

    int insert(ShopMerchantPermission record);

    int insertSelective(ShopMerchantPermission record);

    List<ShopMerchantPermission> selectByExample(ShopMerchantPermissionExample example);

    ShopMerchantPermission selectByPrimaryKey(String permissionId);

    int updateByExampleSelective(@Param("record") ShopMerchantPermission record, @Param("example") ShopMerchantPermissionExample example);

    int updateByExample(@Param("record") ShopMerchantPermission record, @Param("example") ShopMerchantPermissionExample example);

    int updateByPrimaryKeySelective(ShopMerchantPermission record);

    int updateByPrimaryKey(ShopMerchantPermission record);
}